frame: Fix gadget conversion
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Dec 2015 22:12:12 +0000 (17:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Dec 2015 22:12:12 +0000 (17:12 -0500)
The GtkCssAllocateFunc must set the clip to meaningful values.

gtk/gtkframe.c

index c50c1df01f0925e626ba460a19ca0d04d87c3a54..41b094840ca3e3648872eb17e818670ae34a0796 100644 (file)
@@ -852,6 +852,8 @@ gtk_frame_allocate_border (GtkCssGadget        *gadget,
   child = gtk_bin_get_child (GTK_BIN (widget));
   if (child && gtk_widget_get_visible (child))
     gtk_widget_size_allocate (child, (GtkAllocation *)allocation);
+
+  *out_clip = *allocation;
 }
 
 static void